/*
 * @Author: 白袂 1741866590@qq.com
 * @Date: 2023-09-05 16:02:01
 * @LastEditors: 白袂 1741866590@qq.com
 * @LastEditTime: 2024-05-09 21:20:38
 * @FilePath: \obj_system\src\router\home\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

export default {
    path: '/',
    // name: 'Home',
    component: () => import(/* webpackChunkName: "Home" */ '../../views/home/Home.vue'),
    children: [
        {
            //商品管理  // 默认子路由 父路由不能有name属性
            path: "/",
            component: () => import(/* webpackChunkName: "Goods" */ '../../views/basics/Goods.vue'),
        },
        {
            path: "/goods/class",
            component: () => import(/* webpackChunkName: "Classs" */ '../../views/basics/Classs.vue'),
        },
       
        {
            //交易订单
            path: "/order/transaction",
            component: () => import(/* webpackChunkName: "Home" */ '../../views/order/Transaction.vue'),
        },
        {
            //订单状态
            path: "/order/status",
            component: () => import(/* webpackChunkName: "Statuss" */ '../../views/order/Statuss.vue'),

        },
       
        {
            //数据统计
            path: "/order/statistics",
            component: () => import(/* webpackChunkName: "Statistics" */ '../../views/order/Statistics.vue'),
        },
        {
            //用户管理
            path: "/system/user",
            component: () => import(/* webpackChunkName: "User" */ '../../views/system/User.vue'),
        },
        {
            //支付方式
            path: "/pay/fun",
            component: () => import(/* webpackChunkName: "Fun" */ '../../views/pay/Fun.vue'),
        },
        {
            //库存
            path: "/warehouse/stock",
            component: () => import(/* webpackChunkName: "Stock" */ '../../views/warehouse/Stock.vue'),
        }
    ]
}